﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Red.Controls.ViewModels
{
    class ObjectsPaletteRootCategory : ObjectsPaletteCategory
    {
        private ObjectsPaletteCategory _favoritesCategory;

        public List< ObjectsPaletteItem > Favorites
        {
            get { return _favoritesCategory.Items; }
            set { _favoritesCategory.Items = value; }
        }

        public ObjectsPaletteRootCategory() 
            : base( "ObjectsPalette", null )
        {
            _favoritesCategory = new ObjectsPaletteCategory( "Favorites", this );
            Subcategories.Add( _favoritesCategory );
        }
    }
}
